﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using Traceability.ErrorCode;

namespace Traceability.Write.Api.Application.Command
{
    public class AddVendorCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 供应商主键
        /// </summary>
        public int VendorId { get; set; }
        /// <summary>
        /// 供应商的生产批次
        /// </summary>
        public string ProduceTimes { get; set; }
        /// <summary>
        ///  类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 图片外键
        /// </summary>
        public int ModuleId { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int CommodityId { get; set; }
    }
}
